package com.vans.api.api.order;


import order.OrderInfoVO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Elle
 * @since 2020-10-24
 */
public interface OrderServiceAPI {

    /**
     * 按user_id查询订单
     * @param userId 用户id
     * @return
     */
    @RequestMapping(value = "/order/get-by-userid", method = RequestMethod.GET)
    OrderInfoVO getByUserId(@RequestParam(value = "userId") Integer userId);
}
